package com.gqzdev.xblog.service;

import com.gqzdev.xblog.entity.NewsCategory;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



public interface NewsCategoryService {
	public int add(NewsCategory newsCategory);
	public int edit(NewsCategory newsCategory);
	public int delete(Long id);
	public List<NewsCategory> findList(Map<String, Object> queryMap);
	public List<NewsCategory> findAll();
	public List<NewsCategory> findAllShow();
	public int getTotal(Map<String, Object> queryMap);
	public NewsCategory find(Long id);
}
